<div class="view_pindex">
	<div class="userTitle" ng-click="gocode()">
		<div class="header">
			<img ng-src="{{pData.matchmaker.headimgurl}}" alt="" />
		</div>
		<div class="text">
			<b>{{pData.matchmaker.nickName}}</b>
			&nbsp;
			<span class="gender man" ng-if="pData.gender==1"></span>
			<span class="gender female" ng-if="pData.gender==2"></span>
			&nbsp;
			<span ng-if="ishn==0">{{pData.age}}岁</span>
			&nbsp;&nbsp;
			<span ng-if="ishn==0">{{pData.province}}&nbsp;&nbsp;{{pData.city}}</span>
			<p ng-if="ishn==0&&pData.marital">目前状态：
				<i style="color:#fc3460" ng-if="pData.marital==1">单身</i>
				<i style="color:#fc3460" ng-if="pData.marital!=1&&pData.marital!='0'">已婚</i>
			</p>
			<p ng-if="ishn==1">
				账户金额（元）：<i>¥{{pData.matchmaker.balance?pData.matchmaker.balance:pData.balance}}</i>
			</p>
		</div>
		<span ng-if="ishn==1" class="qcode">
			<i class="iconfont">&#xe606;</i>
		</span>
		<i ng-if="ishn==1" class="iconfont">&#xe600;</i>
	</div>
	<div class="mypic" ng-show="ishn==0">
		<h2>
			<span>我的照片</span>
			<a class="editpic" ng-click="editpic()" ng-if="!isedit">编辑相册</a>
			<a class="editpic" ng-click="savepic()" ng-if="isedit">保存</a>
		</h2>
		<div swiper-directive class="swiper-container">
				<ul class="swiper-wrapper">
					<li  ng-repeat="p in pData.photo track by $index" wx-upload swiper-slide class="swiper-slide" ng-class="{'uploadMypic':p.type=='upload'}">
						<img ng-if="p.type!='upload'" ng-src="{{p.url}}@480h_320w_1e_1c" alt="" />
						<div ng-if="p.type=='upload'" class="uploadmark" ng-click="upload(pData.photo,'array',p.type)">
							<p>
								<i style="color:#999" class="iconfont">&#xe607;</i>
							</p>
						</div>
						
						<div class="picmark" ng-if="p.isedit" ng-click="deletepic($index,p.url)">
							<i class="iconfont middle">&#xe603;</i>
						</div>
					</li>
				</ul>
		</div>
	</div>
	<div class="trlist" ng-if="ishn==0">
		<div ui-sref="reg_s1" ng-if="pData.verify!='1'">
			<span>基本资料</span>
			<i class="iconfont">&#xe600;</i>
		</div>
		<div ui-sref="account({hn:0})">
			<span>我的账户</span>
			<i class="iconfont">&#xe600;</i>
		</div>
		<div tr-href='{url:"#/loveme"}'>
			<span>关注我的人</span>
			<i class="iconfont">&#xe600;</i>
		</div>
		<div tr-href='{url:"#/loveeach"}'>
			<span>互相关注的人</span>
			<i class="iconfont">&#xe600;</i>
		</div>
	</div>
	
	
	<div class="trlist" ng-if="ishn==1">
		<div ui-sref="mmcondition">
			<span>发现条件</span>
			<i class="iconfont">&#xe600;</i>
		</div>
		<div ui-sref="account({hn:1})">
			<span>我的账户</span>
			<i class="iconfont">&#xe600;</i>
		</div>
		<div tr-href='{url:"#/fmatch"}'>
			<span>我介绍的人</span>
			<i class="iconfont">&#xe600;</i>
		</div>
	</div>
</div>